package com.lw.mall.service2;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lw.mall.entity.Evaluation;
import com.lw.mall.entity.User;

import java.util.List;


/**
 * <p>
 *
 * </p>
 *
 * @author lw
 * @since 2022-09-25
 */
public interface EvaluationService2 extends IService<Evaluation> {

    /**
     * 保存用户评价
     * @param context
     * @param user
     * @param productId
     */
    void saveContext(String context, User user, Integer productId);

    List<Evaluation> getContext(Integer id);
}
